package be.fomp.jeve.application.data.standard.kills;

import org.jdom.Element;

import be.fomp.jeve.application.data.standard.Kills.KillStats;

final class KillStatsImpl implements KillStats{
	static final long serialVersionUID = 1L;
	
	private int shipKills;
	private int factionKills;
	private int podKills;
	
	KillStatsImpl(Element killStatsElement) {
		this.shipKills = Integer.parseInt(killStatsElement.getAttributeValue("shipKills"));
		this.factionKills = Integer.parseInt(killStatsElement.getAttributeValue("factionKills"));
		this.podKills = Integer.parseInt(killStatsElement.getAttributeValue("podKills"));
	}

	public int getShipKills() {return this.shipKills;}
	public int getFactionKills() {return this.factionKills;}
	public int getPodKills() {return this.podKills;}
	
}